Skip to content

Replace all hardcoded "midi::" namespace by "MIDI_NAMESPACE::" - #321

Open
YaelBx wants to merge 1 commit into
FortySevenEffects:feat/v5.1.0from
YaelBx:fixHardCodedNamespace
Open

Replace all hardcoded "midi::" namespace by "MIDI_NAMESPACE::"#321
YaelBx wants to merge 1 commit into
FortySevenEffects:feat/v5.1.0from
YaelBx:fixHardCodedNamespace

Conversation

@YaelBx

@YaelBx YaelBx commented Feb 17, 2023

Copy link
Copy Markdown

The real issue is the hardcoded one in src/midi_Message.h when trying to edit the default "midi" namespace.
IMHO, if we can use custom namespace, no midi:: namespace should be hardcoded, we should instead always use the MIDI_NAMESPACE MACRO.

I did not managed to install the unit-test to verify my modifications, too much issues with Visual and /W argument.
If someone with a working unit-test config can verify the modifications, this would be lovely.

Signed-off-by: Yaël Boutreux <yael.boutreux@gmail.com>

@franky47 franky47 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: Thanks, looks good!

@YaelBx

YaelBx commented Feb 17, 2023

Copy link
Copy Markdown
Author

praise: Thanks, looks good!

@franky47 reminder, I did not managed to execute unit-test on my setup, can you ACK me that you did run them and all good?
Thanks again,
Yaël

@franky47

Copy link
Copy Markdown
Member

They are running in the CI on GitHub actions, let's wait and see 👀.

@franky47

franky47 commented Feb 17, 2023

Copy link
Copy Markdown
Member

The error I see comes from Google Test itself, I'll have to investigate.

@franky47
franky47 changed the base branch from master to feat/v5.1.0 July 18, 2023 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants